function generateUniqueUserId() {
    var timestamp = new Date().getTime();
    var randomNum = Math.floor(Math.random() * 10000);
    var uniqueId = "user" + "_" + timestamp + "_" + randomNum;
    return uniqueId;
}

function generateUniqueClusterId() {
    var timestamp = new Date().getTime();
    var randomNum = Math.floor(Math.random() * 10000);
    var uniqueId = "cluster" + "_" + timestamp + "_" + randomNum;
    return uniqueId;
}

export default {
    generateUniqueUserId,
    generateUniqueClusterId
}
